package com.example.exampleproject.base;

import android.app.Dialog;
import android.content.Context;

public abstract class BaseApiObserver<T> extends BaseObserver<T>{

    public BaseApiObserver(Context context) {
        super(context);
    }

    @Override
    protected void onApiError(Throwable e) {
        Dialog dialog = new Dialog(context.get());
        dialog.show();
    }

}
